package com.mk.service;

import com.mk.base.service.IBaseService;
import com.mk.model.entity.UserRole;

import java.util.List;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 5:18 PM 3/13/18
 */
public interface IUserRoleService extends IBaseService<UserRole> {

    List<UserRole> findByUserId(Long userId);

    List<UserRole> findByRoleId(Long roleId);

    Boolean changeUserRole(Long userId,List<Long> roleId);
}
